package hflyeer.service;

import hflyeer.pojo.entity.SaleChance;
import hflyeer.pojo.query.SaleChanceQuery;

import java.util.Map;

/**
 * SaleChanceService
 *
 * @author hflyeer
 * @date 2021-06-10
 * @describe
 */
public interface SaleChanceService {
    /**
     * 多条件查询营销计划
     *
     * @param query
     */
    Map<String,Object> querySaleChanceByParams(SaleChanceQuery query);

    /**
     * 添加营销计划
     * @param saleChance
     * @return
     */
    Map<String,Object> addSaleChance(SaleChance saleChance);

    /**
     * id删除多个
     * @param ids
     * @return
     */
    Map<String, Object> deleteSaleChance(Integer[] ids);

    /**
     * 更新
     * @param saleChance
     * @return
     */
    Map<String, Object> updateSaleChance(SaleChance saleChance);
}
